{template header}

<div class="container">

<div class="row">

<div class="col-md-8">

    {template menu}


    <div class="bbox bbox-nbt" id="info">
    <ul class="nav nav-pills" style="padding: 10px">
        {if isMobile()}
        <li>
            <select onchange="jumpto(this.options[this.options.selectedIndex].value)" name="typeid" id="typeid" class="form-control">
                <option value="{tsUrl('user','duty',array('id'=>$strUser['userid']))}">服务</option>
                <option value="{tsUrl('user','event',array('id'=>$strUser['userid']))}" >活动</option>
                <option value="{tsUrl('user','article',array('id'=>$strUser['userid']))}"  >文档</option>
                <option value="{tsUrl('user','wish',array('id'=>$strUser['userid']))}" >心愿</option>
                <option value="{tsUrl('user','gift',array('id'=>$strUser['userid']))}"   selected>义卖</option>
                <option value="{tsUrl('user','weibo',array('id'=>$strUser['userid']))}">动态</option>
                {if $GLOBALS['TS_USER']['isadmin']=='1'}
                <option value="{tsUrl('user','comment',array('id'=>$strUser['userid']))}" >备注</option>
                {/if}

            </select>
        </li>
        {else}
        <li role="presentation"><a href="{tsUrl('user','duty',array('id'=>$strUser['userid']))}">服务</a></li>
        <li role="presentation"><a href="{tsUrl('user','event',array('id'=>$strUser['userid']))}">活动</a></li>
        <li role="presentation"><a href="{tsUrl('user','article',array('id'=>$strUser['userid']))}">文档</a></li>
        <li role="presentation"><a href="{tsUrl('user','wish',array('id'=>$strUser['userid']))}">心愿</a></li>
        <li role="presentation" class="active"><a href="{tsUrl('user','gift',array('id'=>$strUser['userid']))}">义卖</a></li>
        <li role="presentation"><a href="{tsUrl('user','weibo',array('id'=>$strUser['userid']))}">动态</a></li>
        {if $GLOBALS['TS_USER']['isadmin']=='1'}
        <li role="presentation"><a href="{tsUrl('user','comment',array('id'=>$strUser['userid']))}" style="color: green">备注</a></li>
        {/if}
        {/if}
    </ul>

<div class="bc">


<div class="topic_list">
<ul>{if $arrGift}
    {loop $arrGift $key $item}
    <li>
        <div class="userimg"><img class="img-rounded" src="{$strUser[face]}" width="32" height="32" alt="$strUser['username']}" title="$strUser['username']}" /></div>

        <div class="topic_title">
            <div class="title">

                <a title="{$item[title]}" href="{tsUrl('group','topic',array('id'=>$item[topicid]))}{$mylink}">{$item[title]}</a>


            </div>
            <div class="topic_info">


<span>
<a href="{tsUrl('user','topic',array('id'=>$item[userid]))}">{$strUser[username]}</a>
    {php echo getTime($item[addtime],time())}



</span>
            </div>

        </div>

        <div class="clear"></div>
    </li>
    {/loop}
    {else}
    <li>没有发布过义卖</li>
    {/if}
</ul>

</div>

<div class="clear"></div>
<div class="page">{$pageUrl}</div>
</div>
</div>
</div>


</div>
</div>

{template footer}